#/*****************************************************************************
#* Keppe Messenger (KMP) Keppe Project-Team User Messaging System
#* Copyright (C) 2013-2014 Keppe Project-Team
#*
#* This program is free software: you can redistribute it and/or modify
#* it under the terms of the GNU General Public License as published by
#* the Free Software Foundation, either version 3 of the License, or
#* (at your option) any later version.
#*
#* This program is distributed in the hope that it will be useful,
#* but WITHOUT ANY WARRANTY; without even the implied warranty of
#* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#* GNU General Public License for more details.
#*
#* You should have received a copy of the GNU General Public License
#* along with this program.  If not, see <http://www.gnu.org/licenses/>.
#*****************************************************************************/

QT       += network gui

VERSION = 1.1.1.2

DEPLOYMENT.display_name = Keppe Messenger Framework

freebsd*: DEFINES += "SYS_FREEBSD"
android: DEFINES += "SYS_ANDROID"
linux*: DEFINES += "SYS_LINUX"
unix: DEFINES += "SYS_UNIX"
macx: DEFINES += "SYS_MACX"
shared: win32: TARGET = libkmsgfw
static: win32: TARGET = kmsgfw
unix: TARGET = kmsgfw
TEMPLATE = lib

DEFINES += KMSGFW_LIBRARY

SOURCES += KMsgFw.cpp \
    KMsgFw10.cpp \
    KMsgFw10Q.cpp \
    KMsgFw11Q.cpp \
    KMsgFw111Q.cpp

HEADERS += KMsgFw.h \
    KMsgFw10.h \
    KMsgFw10Q.h \
    KMsgFw11Q.h \
    KMsgFw111Q.h \
    KMsgFw_shared.h

OTHER_FILES += app.rc \
    KMsgFw \
    KMsgFw10 \
    KMsgFw10Q \
    KMsgFw11Q \
    KMsgFw111Q

shared: macx: CONFIG += lib_bundle
shared: win32: RC_FILE = app.rc
shared: win32: RESOURCES += res.qrc
shared: win32: DEFINES += WIN32_SHARED

unix: !macx: includefiles.path = /opt/keppemessenger/include
unix: !macx: includefiles.files = $$PWD/../include/KMsgFw.h \
    $$PWD/../include/KMsgFw10.h \
    $$PWD/../include/KMsgFw10Q.h \
    $$PWD/../include/KMsgFw11Q.h \
    $$PWD/../include/KMsgFw111Q.h \
    $$PWD/../include/KMsgFw_shared.h \
    $$PWD/../include/KMsgFw \
    $$PWD/../include/KMsgFw10 \
    $$PWD/../include/KMsgFw10Q \
    $$PWD/../include/KMsgFw11Q \
    $$PWD/../include/KMsgFw111Q

unix: !macx: target.path = /opt/keppemessenger/lib
unix: !macx: INSTALLS += target includefiles
